package io.api.modules.login.service;

import io.admin.common.service.CrudService;
import io.api.modules.login.dto.UserEquipmentDTO;
import io.api.modules.login.entity.UserEntity;
import io.api.modules.login.entity.UserEquipmentEntity;

/**
 * 用户设备管理
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-08
 */
public interface UserEquipmentService extends CrudService<UserEquipmentEntity, UserEquipmentDTO> {
    UserEquipmentEntity getByUserId(Long userId);

    UserEquipmentEntity getUserEquipmentEntity(Long userId, String bumber);

    UserEquipmentEntity check(UserEntity user, String bumber);
}